home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus Special 13
/
AMIGAplus Sonderheft 13 (1998)(ICP)(DE)[!].iso
/
rexx
/
insertversion.bed
< prev
next >
Wrap
Text File
|
1997-12-03
|
504b
|
27 lines
/*
** $VER: InsertVersion.bed 1.0 (02.01.96)
**
** Insert an AmigaDOS version string at the current cursor position,
** taking the current filename and date.
**
** Written by Chris Bailey
** Modified by Martin Taillefer
** Modified by Marco Negri
*/
OPTIONS RESULTS
GetFileInfo
PARSE VAR RESULT . . '"'name'"'
date = DATE(e);
day = SUBSTR(date,1,2)
month = SUBSTR(date,4,2)
year = SUBSTR(date,7,2)
str = "$VER: " || name || " .0 (" || day || "." || month || "." || year || ")"
Text str
MoveLeft 13